<?php

namespace App\Traits;

use App\Models\Invitation;

/**
 * Trait Inviteable.
 */
trait Inviteable
{
    /**
     * @return \Illuminate\Database\Eloquent\Relations\MorphMany
     */
    public function invitations()
    {
        return $this->morphMany(Invitation::class, 'inviteable');
    }
}
